Open a deleted module

I have code that reads though every module in a folder to process data.  But I would l would also like to open deleted modules.    Is this possible in DXL?

Thank you


2_Tall - Mon Sep 25 08:35:43 EDT 2017

Re: Open a deleted module
PekkaMakinen - Tue Sep 26 02:45:43 EDT 2017

No. Might be DOORS version dependent, with all the bugs IBM introduces to DOORS.

Note also that if you try to open a deleted module, you will not get any error messages, the end result is just that e.g. you module handle will be left null (Module m = read("deleted module")).

Re: Open a deleted module
Mike.Scharnow - Tue Sep 26 10:08:50 EDT 2017

PekkaMakinen - Tue Sep 26 02:45:43 EDT 2017

No. Might be DOORS version dependent, with all the bugs IBM introduces to DOORS.

Note also that if you try to open a deleted module, you will not get any error messages, the end result is just that e.g. you module handle will be left null (Module m = read("deleted module")).

the workaround that we use in some scripts is to undelete the module, do whatever analyses are needed and delete the modules again.

But deleted modules should not be evaluated, there's a reason why they are deleted....

Re: Open a deleted module
2_Tall - Tue Sep 26 11:15:47 EDT 2017

Mike.Scharnow - Tue Sep 26 10:08:50 EDT 2017

the workaround that we use in some scripts is to undelete the module, do whatever analyses are needed and delete the modules again.

But deleted modules should not be evaluated, there's a reason why they are deleted....

Hi Mike.  Thanks for your response.    Our project is so monstrous that undeleting and deleting again would be difficult.   The reason I want to evaluate deleted modules is because  sometimes in deleted modules we find deleted objects that did not delete  links to active modules.

 

 

 

 

Re: Open a deleted module
EHcnck - Fri Sep 29 14:55:26 EDT 2017

2_Tall - Tue Sep 26 11:15:47 EDT 2017

Hi Mike.  Thanks for your response.    Our project is so monstrous that undeleting and deleting again would be difficult.   The reason I want to evaluate deleted modules is because  sometimes in deleted modules we find deleted objects that did not delete  links to active modules.

 

 

 

 

then analysis the active modules for this issue, you can create a report on what is needed to be cleaned up.